package com.rrx.model;

/**
 * Created by Administrator on 2018/8/13.
 */

public class Fault {
    private int id;
    private String type;
    private String faultinfo;
    private int deletedfailt;

    public Fault() {
    }
    public Fault(int id, String type, String faultinfo, int deletedfailt) {
        this.id = id;
        this.type = type;
        this.faultinfo = faultinfo;
        this.deletedfailt = deletedfailt;
    }

    public Fault(String type, String faultinfo) {
        this.type = type;
        this.faultinfo = faultinfo;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getFaultinfo() {
        return faultinfo;
    }

    public void setFaultinfo(String faultinfo) {
        this.faultinfo = faultinfo;
    }

    public int getDeletedfailt() {
        return deletedfailt;
    }

    public void setDeletedfailt(int deletedfailt) {
        this.deletedfailt = deletedfailt;
    }

    @Override
    public String toString() {
        return "Fault{" +
                "id=" + id +
                ", type='" + type + '\'' +
                ", faultinfo='" + faultinfo + '\'' +
                ", daletedfailt=" + deletedfailt +
                '}';
    }
}
